package com.csnf.dao;

import com.csnf.entity.course;

import java.io.IOException;
import java.util.List;

public interface ICourseDao {
    List<course> getAllCourse() throws IOException;
    course getCourseById(Integer id) throws IOException;
    void addCourse(course course) throws IOException;
    void deleteCourse(Integer id) throws IOException;
    List<course> getCourseByName(String name) throws IOException;
}
